import request from "../utils/request";

//商品分类数据
const getGoodsSort = (params = {}) => {
  return request.get("/goodsSort", { params });
};
//修改商品分类
const modifyGoodsSort = (params = {}) => {
  return request.put("/updataType", params);
};
//商品列表数据
const getGoodsList = (params = {}) => {
  return request.get("/goodsList", { params });
};
export { getGoodsSort, modifyGoodsSort, getGoodsList };
